package com.talent.service;

import java.util.List;

import com.talent.pojo.Schedule;
import com.talent.vo.ScheduleVo;
import com.talent.vo.TrainDetailVo;

public interface ScheduleService {

	List<ScheduleVo> selectVoByPrimaryKey(Integer id);
	
	ScheduleVo selectVoByPrimaryKey1(Integer id);

	ScheduleVo selectVoByTrainDetailId(Integer trainDetailId);

	void updateStatus(Integer id, int yes);

	void updateSuggestion(int id, String suggestion);

	void add(String[] courseName, Double[] score, Double[] theory, Double[] experiment, Double[] selfmaster,
			String[] examtype, Integer[] termth);

	List<Schedule> selectScheduleId(int length);

	void deleteByTrainDetailId(List<TrainDetailVo> tds);

	void edit(Integer scheduleId, Integer theorystartweek, Integer theoryendweek, Integer expstartweek,
			Integer expendweek, String theoryteacher, String expteacher);

}
